package com.yale.elasticsearch.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author :yale
 * @date : 2024/8/5
 */
@Data
@ApiModel(description = "用户信息")
public class UserInfoDTO {

    @ApiModelProperty(value = "主键")
    private Long id;
    @ApiModelProperty(value = "姓名")
    private String name;
    @ApiModelProperty(value = "年龄")
    private Integer age;
    @ApiModelProperty(value = "薪资")
    private Float salary;
    @ApiModelProperty(value = "地址")
    private String address;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "出生日期")
    private String birthDate;
    @ApiModelProperty(value = "创建日期")
    private Date createTime = new Date();
    @ApiModelProperty(value = "索引名称")
    private String indexName;

}
